package com.songji.shuatixia.esdao;

import com.songji.shuatixia.model.dto.question.QuestionEsDTO;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 *@Author: 40斤
 *@CreateTime: 2025-02-08  21:26
 *@Description: 题目es操作
 *@Version: 1.0
 */
public interface QuestionEsDao extends ElasticsearchRepository<QuestionEsDTO, Long> {
    List<QuestionEsDTO> findByUserId(Long userId);
}